load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
    name = "validate",
    srcs = [
        "validate.h",
        "validate.pb.go",
    ],
    importmap = "github.com/cockroachdb/cockroach/vendor/github.com/envoyproxy/protoc-gen-validate/validate",
    importpath = "github.com/envoyproxy/protoc-gen-validate/validate",
    visibility = ["//visibility:public"],
    deps = [
        "//vendor/github.com/golang/protobuf/proto",
        "//vendor/github.com/golang/protobuf/protoc-gen-go/descriptor",
        "//vendor/github.com/golang/protobuf/ptypes/duration",
        "//vendor/github.com/golang/protobuf/ptypes/timestamp",
    ],
)
